package asteroids.model.programs.expression;

import asteroids.model.programs.expression.*;
import asteroids.model.programs.type.Bool;

public class Negation extends Logic {

	public Negation(int line, int column, E right) {
		super(line, column, right);
	}
	
	@Override
	public Bool getValue(){
		return new Bool(!((Bool) getRight().getValue()).getValue());
	}

}
